/*
 * @Description: 
 * @Version: 2.0
 * @Autor: ftt
 * @Date: 2022-06-13 10:23:24
 * @LastEditors: ftt
 * @LastEditTime: 2022-06-16 11:37:35
 */

import 'package:flutter/material.dart';
import 'package:ttcomment/ttcomment.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class LoginRootPage extends TTNormalStatefulWidget {
  const LoginRootPage({Key? key}) : super(key: key);

  @override
  TTNormalState<TTNormalStatefulWidget> getState() {
    return _LoginRootPageState();
  }
}

class _LoginRootPageState extends TTNormalState<LoginRootPage> {
  /// 属性
  ///
  ///

  @override
  bool get safeAreabottm => false;

  @override
  bool get safeAreatop => false;

  /// 生命周期
  ///
  ///

  /// 界面初始化
  @override
  void initDefaultState() {
    super.initDefaultState();
  }

  /// 界面销毁
  @override
  void initDefaultDispose() {
    super.initDefaultDispose();
  }

  /// 网路请求
  ///
  ///

  /// 构建视图
  ///
  ///

  @override
  Widget createBody(BuildContext context) {
    return Container(
      alignment: Alignment.center,
      decoration: const BoxDecoration(color: Colors.white),
      child: const Text('LoginRoot'),
    );
  }

  /// 触发方法
  ///
  ///

  /// 配置默认数据
  @override
  void configNormalData() {}
}
